package regionalFoods

import (
	"github.com/gin-gonic/gin"
	. "savor_gin/controllers/regionalFoods"
)

func RegionalFoodLoad(g *gin.Engine) {
	g.POST("/region", AddRegionalFood)
	g.GET("/region/list", GetRegionalFoodList)
	g.GET("/region/info", GetRegionalFoodById)
	g.GET("/region/search", GetRegionalFoodListByRecipeId)
	g.GET("/region/like", GetRegionalFoodListLikeKey)
	g.DELETE("/region", DeleteRegionalFood)
	g.PUT("/region/:foodId", UpdateRegionalFoodInfo)
}
